﻿namespace BattleShip
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    public static class MatrixFunctions
    {
        public static bool IsPositionInTheMatrix(int xCoordinate, int yCoordinate)
        {
            if (xCoordinate > 9 || xCoordinate < 0 || yCoordinate > 9 || yCoordinate < 0)
            {
                return false;
            }
            else
            {
                return true;
            }
        }
    }
}
